package com.sky.mapper;

import com.sky.entity.OrderDetail;
import com.sky.entity.Orders;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderDetailMapper {

    //批量插入订单详细表
    void addList(List<OrderDetail> orderDetailList);

    //根据订单id查询订单详细表
    List<OrderDetail> selOrderDetailByOrderId(Long orderId);


}
